WPGraphQL\Registry\TypeRegistry C

Total Complexity 124
Dependencies 128
Dependents 60
Total lines 1,218
Lines of code 631
Logical lines of code 346
Comment lines 452
Methods 33
Properties 6

Methods 33

Method Rating Maintainability Complexity Lines of code
init_type_registry()
D
21
24 249
prepare_field()
A
43 13 50
register_type()
A
46 11 41
prepare_type()
A
49 10 31
register_field()
S
46 5 46
prepare_fields()
S
59 7 14
register_fields()
S
64 6 9
setup_type_modifiers()
S
60 4 16
register_connections_from_config()
S
59 4 14
get_excluded_mutations()
S
67 3 7
get_excluded_types()
S
67 3 7
list_of()
S
65 3 10
get_excluded_connections()
S
67 3 7
deregister_mutation()
S
62 2 13
deregister_connection()
S
62 2 12
deregister_field()
S
63 2 11
get_eager_type_map()
S
64 2 11
get_unmodified_type_name()
S
68 2 7
register_mutation()
S
68 2 7
get_type()
S
64 2 9
non_null()
S
69 2 7
init()
S
61 1 12
__construct()
S
74 1 5
register_connection()
S
80 1 3
format_key()
S
80 1 3
has_type()
S
79 1 3
register_union_type()
S
75 1 4
register_input_type()
S
75 1 4
register_enum_type()
S
75 1 4
register_interface_type()
S
75 1 4
register_object_type()
S
75 1 4
register_scalar()
S
75 1 4
get_types()
S
79 1 3